# Tanım: Cisco yönlendirici emülatörü.
# URL: https://github.com/GNS3/dynamips
# Paketçi: yasarciv67
# Gerekler: libpcap elfutils cmake
# Grup: sistem

isim=dynamips
surum=0.2.20
devir=1

kaynak=(https://github.com/GNS3/$isim/archive/v$surum.tar.gz::$isim-$surum.tar.gz)

derle() {
  export DYNAMIPS_ARCH=amd64
  
  cd $isim-$surum
  cmake ./ -DCMAKE_INSTALL_PREFIX:PATH=/usr
  make DESTDIR=$PKG install
  install -Dm644 $SRC/$isim-$surum/COPYING $PKG/usr/share/licenses/$isim/COPYING
}
